home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / Sample Code / QuickDraw / SetDeskCPatDemo / SetDeskCPatDemo READ ME / SetDeskCPatDemo READ ME.rsrc
MacOS Resource Fork  |  1997-06-25  |  2.1 KB  |  [clpp/drag]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacOS Resource Fork (archive/rsrc).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert MacOS Resource Fork (archive/rsrc) magic Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert BeOS Resource Data (archive/beOSResourceData) ext Unsupported
1% dexvert AppleSingle (archive/appleSingle) fallback Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file AppleDouble encoded Macintosh file default
99% file data default
66% TrID Mac AppleDouble encoded default
33% TrID TTComp archive compressed (bin-2K) default (weak)
100% siegfried fmt/503 AppleDouble Resource Fork (2) default
100% lsar AppleSingle default
100% xdgMime text/html default


id metadata
keyvalue
macFileType[clpp]
macFileCreator[drag]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 16 07 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 02 00 00 00 09 00 00 |........|........|
|00000020| 00 32 00 00 00 20 00 00 | 00 02 00 00 00 52 00 00 |.2... ..|.....R..|
|00000030| 08 0b 63 6c 70 70 64 72 | 61 67 01 00 00 00 00 00 |..clppdr|ag......|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 01 00 00 00 | 07 9d 00 00 06 9d 00 00 |........|........|
|00000060| 00 6e 20 4e 45 54 53 43 | 41 50 45 2d 42 6f 6f 6b |.n NETSC|APE-Book|
|00000070| 6d 61 72 6b 2d 66 69 6c | 65 2d 31 3e 0d 3c 21 43 |mark-fil|e-1>.<!C|
|00000080| 72 65 17 53 65 74 44 65 | 73 6b 43 50 61 74 44 65 |re.SetDe|skCPatDe|
|00000090| 6d 6f 20 52 45 41 44 20 | 4d 45 72 63 2e 53 59 4d |mo READ |MErc.SYM|
|000000a0| 45 31 00 00 63 6c 70 70 | 64 72 61 67 01 00 ff ff |E1..clpp|drag....|
|000000b0| ff ff 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 af c4 77 a3 | 00 00 00 00 00 00 08 0b |......w.|........|
|000000d0| 45 4e 54 3d 22 74 65 78 | 74 2f 68 74 6d 6c 3b 20 |ENT="tex|t/html; |
|000000e0| 63 68 61 72 73 65 74 3d | 78 2d 6d 61 63 2d 72 6f |charset=|x-mac-ro|
|000000f0| 6d 61 6e 22 3e 0d 3c 54 | 49 54 4c 45 3e 4d 69 63 |man">.<T|ITLE>Mic|
|00000100| 72 6f 73 6f 66 74 20 49 | 6e 74 65 72 6e 65 74 20 |rosoft I|nternet |
|00000110| 45 78 70 6c 6f 72 65 72 | 3c 2f 54 49 54 4c 45 3e |Explorer|</TITLE>|
|00000120| 0d 0d 3c 48 31 20 20 57 | 49 4e 44 4f 57 5f 50 4f |..<H1 W|INDOW_PO|
|00000130| 53 49 54 49 4f 4e 3d 22 | 32 30 2c 36 35 22 20 57 |SITION="|20,65" W|
|00000140| 49 4e 44 4f 57 5f 53 49 | 5a 45 3d 22 34 33 38 2c |INDOW_SI|ZE="438,|
|00000150| 35 35 00 00 06 30 06 30 | 00 00 00 00 01 cf 01 ae |55...0.0|........|
|00000160| 00 11 02 ff 0c 00 ff ff | ff ff 00 00 00 00 00 00 |........|........|
|00000170| 00 00 01 ae 00 00 01 cf | 00 00 00 00 00 00 00 1e |........|........|
|00000180| 00 0c 00 00 ff ff 00 01 | 00 0a 00 00 00 00 01 ce |........|........|
|00000190| 01 ae 00 2c 00 09 00 03 | 06 47 65 6e 65 76 61 00 |...,....|.Geneva.|
|000001a0| 00 03 00 03 00 0d 00 18 | 00 2e 00 04 00 00 00 00 |........|........|
|000001b0| 00 10 01 ce 01 ae 01 ce | 01 ae 00 2b 12 16 0f 53 |........|...+...S|
|000001c0| 65 74 44 65 73 6b 43 50 | 61 74 44 65 6d 6f 00 2c |etDeskCP|atDemo.,|
|000001d0| 00 0b 00 10 08 50 61 6c | 61 74 69 6e 6f 00 00 03 |.....Pal|atino...|
|000001e0| 00 10 00 0d 00 0c 00 2b | 12 1a 32 63 6f 64 65 20 |.......+|..2code |
|000001f0| 61 6e 64 20 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |and docu|mentatio|
|00000200| 6e 20 a9 ca 31 39 39 37 | 20 41 70 70 6c 65 20 43 |n ..1997| Apple C|
|00000210| 6f 6d 70 75 74 65 72 2c | 20 49 6e 63 2e 00 00 2a |omputer,| Inc...*|
|00000220| 0e 19 50 65 74 65 20 47 | 6f 6e 74 69 65 72 2c 20 |..Pete G|ontier, |
|00000230| 45 76 69 6c 20 47 65 6e | 69 75 73 00 00 2a 0e 22 |Evil Gen|ius..*."|
|00000240| 4d 61 63 20 4f 53 20 44 | 65 76 65 6c 6f 70 65 72 |Mac OS D|eveloper|
|00000250| 20 54 65 63 68 6e 69 63 | 61 6c 20 53 75 70 70 6f | Technic|al Suppo|
|00000260| 72 74 00 2a 0e 16 63 6f | 6d 6d 65 6e 74 73 20 61 |rt.*..co|mments a|
|00000270| 6e 64 20 6b 75 64 6f 73 | 20 74 6f 20 00 2c 00 0a |nd kudos| to .,..|
|00000280| 00 16 07 43 6f 75 72 69 | 65 72 00 03 00 16 00 29 |...Couri|er.....)|
|00000290| 89 16 3c 64 65 76 73 75 | 70 70 6f 72 74 40 61 70 |..<devsu|pport@ap|
|000002a0| 70 6c 65 2e 63 6f 6d 3e | 00 03 00 03 00 0d 00 12 |ple.com>|........|
|000002b0| 00 28 00 7a 00 12 0b 57 | 68 61 74 20 69 73 20 69 |.(.z...W|hat is i|
|000002c0| 74 3f 00 03 00 10 00 0d | 00 0c 00 2b 12 18 44 49 |t?......|...+..DI|
|000002d0| 74 27 73 20 61 20 73 69 | 6d 70 6c 65 20 63 6f 64 |t's a si|mple cod|
|000002e0| 65 20 73 61 6d 70 6c 65 | 20 77 68 69 63 68 20 64 |e sample| which d|
|000002f0| 65 6d 6f 6e 73 74 72 61 | 74 65 73 20 68 6f 77 20 |emonstra|tes how |
|00000300| 74 6f 20 63 61 6c 6c 20 | 53 65 74 44 65 73 6b 43 |to call |SetDeskC|
|00000310| 50 61 74 00 00 2a 0e 47 | 70 72 6f 70 65 72 6c 79 |Pat..*.G|properly|
|00000320| 2e 20 53 65 74 44 65 73 | 6b 43 50 61 74 20 69 73 |. SetDes|kCPat is|
|00000330| 20 61 20 64 65 63 65 70 | 74 69 76 65 6c 79 20 73 | a decep|tively s|
|00000340| 69 6d 70 6c 65 20 63 61 | 6c 6c 2e 20 4f 66 20 74 |imple ca|ll. Of t|
|00000350| 68 65 20 71 75 65 73 74 | 69 6f 6e 73 20 77 65 00 |he quest|ions we.|
|00000360| 00 2a 0e 48 67 65 74 20 | 61 62 6f 75 74 20 69 74 |.*.Hget |about it|
|00000370| 2c 20 6d 6f 73 74 20 62 | 6f 69 6c 20 64 6f 77 6e |, most b|oil down|
|00000380| 20 74 6f 3a 20 5b 31 5d | 20 57 68 61 74 20 61 62 | to: [1]| What ab|
|00000390| 6f 75 74 20 74 68 65 20 | 70 69 78 65 6c 20 70 61 |out the |pixel pa|
|000003a0| 74 74 65 72 6e 20 68 61 | 6e 64 6c 65 00 2a 0e 49 |ttern ha|ndle.*.I|
|000003b0| 74 68 61 74 27 73 20 61 | 6c 72 65 61 64 79 20 62 |that's a|lready b|
|000003c0| 65 69 6e 67 20 64 69 73 | 70 6c 61 79 65 64 3f 20 |eing dis|played? |
|000003d0| 28 49 74 20 67 65 74 73 | 20 64 69 73 70 6f 73 65 |(It gets| dispose|
|000003e0| 64 20 61 75 74 6f 6d 61 | 67 69 63 61 6c 6c 79 2e |d automa|gically.|
|000003f0| 29 20 61 6e 64 20 5b 32 | 5d 00 00 2a 0e 42 48 6f |) and [2|]..*.BHo|
|00000400| 77 20 63 6f 6d 65 20 74 | 68 65 20 73 79 73 74 65 |w come t|he syste|
|00000410| 6d 20 63 72 61 73 68 65 | 73 20 61 66 74 65 72 20 |m crashe|s after |
|00000420| 6d 79 20 61 70 70 20 71 | 75 69 74 73 3f 20 28 54 |my app q|uits? (T|
|00000430| 68 65 20 70 69 78 65 6c | 20 70 61 74 74 65 72 6e |he pixel| pattern|
|00000440| 00 2a 0e 34 6e 65 65 64 | 73 20 74 6f 20 62 65 20 |.*.4need|s to be |
|00000450| 61 6c 6c 6f 77 65 64 20 | 74 6f 20 22 6c 65 61 6b |allowed |to "leak|
|00000460| 22 20 69 6e 74 6f 20 74 | 68 65 20 73 79 73 74 65 |" into t|he syste|
|00000470| 6d 20 68 65 61 70 2e 29 | 00 03 00 03 00 0d 00 12 |m heap.)|........|
|00000480| 00 28 00 f8 00 12 23 42 | 75 74 20 69 73 6e 27 74 |.(....#B|ut isn't|
|00000490| 20 53 65 74 44 65 73 6b | 43 50 61 74 20 62 65 63 | SetDesk|CPat bec|
|000004a0| 6f 6d 69 6e 67 20 6c 65 | 73 73 00 2a 16 26 69 6d |oming le|ss.*.&im|
|000004b0| 70 6f 72 74 61 6e 74 20 | 77 69 74 68 20 74 68 65 |portant |with the|
|000004c0| 20 61 64 76 65 6e 74 20 | 6f 66 20 4d 61 63 20 4f | advent |of Mac O|
|000004d0| 53 20 38 3f 00 03 00 10 | 00 0d 00 0c 00 2b 12 18 |S 8?....|.....+..|
|000004e0| 42 59 65 73 2e 20 59 6f | 75 20 73 68 6f 75 6c 64 |BYes. Yo|u should|
|000004f0| 20 62 65 20 63 61 72 65 | 66 75 6c 20 74 6f 20 63 | be care|ful to c|
|00000500| 6f 2d 65 78 69 73 74 20 | 67 72 61 63 65 66 75 6c |o-exist |graceful|
|00000510| 6c 79 20 77 69 74 68 20 | 74 68 65 20 44 65 73 6b |ly with |the Desk|
|00000520| 74 6f 70 00 00 2a 0e 45 | 50 69 63 74 75 72 65 73 |top..*.E|Pictures|
|00000530| 20 66 61 63 69 6c 69 74 | 79 20 69 6e 20 4d 61 63 | facilit|y in Mac|
|00000540| 20 4f 53 20 38 2e 20 53 | 65 65 20 74 68 65 20 4d | OS 8. S|ee the M|
|00000550| 61 63 20 4f 53 20 38 20 | 54 65 63 68 6e 6f 74 65 |ac OS 8 |Technote|
|00000560| 20 66 6f 72 20 64 65 74 | 61 69 6c 73 2e 00 00 03 | for det|ails....|
|00000570| 00 03 00 0d 00 12 00 28 | 01 54 00 12 0c 57 65 61 |.......(|.T...Wea|
|00000580| 73 65 6c 20 57 6f 72 64 | 73 00 00 03 00 10 00 0d |sel Word|s.......|
|00000590| 00 0c 00 2b 12 18 43 59 | 6f 75 20 6d 61 79 20 69 |...+..CY|ou may i|
|000005a0| 6e 63 6f 72 70 6f 72 61 | 74 65 20 74 68 69 73 20 |ncorpora|te this |
|000005b0| 73 61 6d 70 6c 65 20 63 | 6f 64 65 20 69 6e 74 6f |sample c|ode into|
|000005c0| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|000005d0| 6e 73 20 77 69 74 68 6f | 75 74 00 2a 0e 3f 72 65 |ns witho|ut.*.?re|
|000005e0| 73 74 72 69 63 74 69 6f | 6e 2e 20 54 68 69 73 20 |strictio|n. This |
|000005f0| 73 61 6d 70 6c 65 20 63 | 6f 64 65 20 68 61 73 20 |sample c|ode has |
|00000600| 62 65 65 6e 20 70 72 6f | 76 69 64 65 64 20 22 41 |been pro|vided "A|
|00000610| 53 20 49 53 22 20 61 6e | 64 20 74 68 65 00 00 2a |S IS" an|d the..*|
|00000620| 0e 48 72 65 73 70 6f 6e | 73 69 62 69 6c 69 74 79 |.Hrespon|sibility|
|00000630| 20 66 6f 72 20 69 74 73 | 20 6f 70 65 72 61 74 69 | for its| operati|
|00000640| 6f 6e 20 69 73 20 31 30 | 30 25 20 79 6f 75 72 73 |on is 10|0% yours|
|00000650| 2e 20 59 6f 75 20 61 72 | 65 20 6e 6f 74 20 70 65 |. You ar|e not pe|
|00000660| 72 6d 69 74 74 65 64 20 | 74 6f 00 2a 0e 40 72 65 |rmitted |to.*.@re|
|00000670| 64 69 73 74 72 69 62 75 | 74 65 20 74 68 65 20 73 |distribu|te the s|
|00000680| 6f 75 72 63 65 20 61 73 | 20 22 41 70 70 6c 65 20 |ource as| "Apple |
|00000690| 73 61 6d 70 6c 65 20 63 | 6f 64 65 22 20 61 66 74 |sample c|ode" aft|
|000006a0| 65 72 20 68 61 76 69 6e | 67 20 6d 61 64 65 00 2a |er havin|g made.*|
|000006b0| 0e 49 63 68 61 6e 67 65 | 73 2e 20 49 66 20 79 6f |.Ichange|s. If yo|
|000006c0| 75 27 72 65 20 67 6f 69 | 6e 67 20 74 6f 20 72 65 |u're goi|ng to re|
|000006d0| 2d 64 69 73 74 72 69 62 | 75 74 65 20 74 68 65 20 |-distrib|ute the |
|000006e0| 73 6f 75 72 63 65 2c 20 | 77 65 20 72 65 71 75 69 |source, |we requi|
|000006f0| 72 65 20 74 68 61 74 20 | 79 6f 75 00 00 2a 0e 42 |re that |you..*.B|
|00000700| 6d 61 6b 65 20 69 74 20 | 63 6c 65 61 72 20 69 6e |make it |clear in|
|00000710| 20 74 68 65 20 73 6f 75 | 72 63 65 20 74 68 61 74 | the sou|rce that|
|00000720| 20 74 68 65 20 63 6f 64 | 65 20 77 61 73 20 64 65 | the cod|e was de|
|00000730| 73 63 65 6e 64 65 64 20 | 66 72 6f 6d 20 41 70 70 |scended |from App|
|00000740| 6c 65 00 2a 0e 2a 73 61 | 6d 70 6c 65 20 63 6f 64 |le.*.*sa|mple cod|
|00000750| 65 2c 20 62 75 74 20 74 | 68 61 74 20 79 6f 75 27 |e, but t|hat you'|
|00000760| 76 65 20 6d 61 64 65 20 | 63 68 61 6e 67 65 73 2e |ve made |changes.|
|00000770| 00 a1 00 64 00 0e b7 78 | 70 72 00 00 00 0e 00 00 |...d...x|pr......|
|00000780| 00 00 00 00 00 ff 00 00 | 00 17 4d 53 57 44 00 04 |........|..MSWD..|
|00000790| 4e 41 54 56 4f 4c 4e 4b | 50 49 43 54 4f 4a 4c 4b |NATVOLNK|PICTOJLK|
|000007a0| 00 00 00 00 30 00 00 00 | 01 00 00 00 00 00 00 00 |....0...|........|
|000007b0| 00 00 00 00 02 50 49 43 | 54 00 00 01 00 00 00 00 |.....PIC|T.......|
|000007c0| 00 00 00 00 00 43 4c 41 | 50 00 00 01 00 00 00 00 |.....CLA|P.......|
|000007d0| 00 00 00 00 00 00 00 00 | 16 00 08 01 bc 00 23 02 |........|......#.|
|000007e0| 70 02 05 69 78 00 01 ff | f8 ff f0 00 00 01 9a 00 |p..ix...|........|
|000007f0| 00 01 00 00 00 07 9d 00 | 00 06 9d 00 00 00 6e 02 |........|......n.|
|00000800| 49 4c cc 29 22 00 00 00 | 1c 00 6e 00 03 50 49 43 |IL.)"...|..n..PIC|
|00000810| 54 00 00 00 22 43 4c 41 | 50 00 00 00 2e 64 72 61 |T..."CLA|P....dra|
|00000820| 67 00 00 00 3a 66 77 73 | 74 00 00 00 46 01 00 ff |g...:fws|t...F...|
|00000830| ff 00 00 00 00 00 00 00 | 00 01 00 ff ff 00 00 06 |........|........|
|00000840| 34 00 00 00 00 00 80 ff | ff 00 00 06 4f 00 00 00 |4.......|....O...|
|00000850| 00 bf 4c ff ff 00 00 06 | 83 00 5b 8b a8 |..L.....|..[.. |
+--------+-------------------------+-------------------------+--------+--------+